package me.yushuai.wukong.base.convertor;

import me.yushuai.wukong.base.api.dto.LocGroupDTO;
import me.yushuai.wukong.base.entity.LocGroup;
import me.yushuai.wukong.common.convertor.BaseConvertor;
import org.mapstruct.Mapper;

/**
 * @author zhoushuai@189.cn
 * @since 2023-04-13
 */
@Mapper(componentModel = "spring")
public interface LocGroupConvertor extends BaseConvertor<LocGroup, LocGroupDTO> {

    LocGroupDTO mapToLocGroupDto(LocGroup entity);

    LocGroup mapToLocGroup(LocGroupDTO locGroupDTO);
}
